package com.fresh.fresh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fresh.fresh.dao.Cart;

import java.util.List;

public interface CartService extends IService<Cart> {
    List<Cart> list(Integer id);

    Integer deleteCommodity(Integer commodityId);

    void addShopping(Cart shopping);

    List<Cart> getShopping(Integer userId, Integer commodityId);


}
